package com.vlin.entity.scene;

import java.io.Serializable;
import java.util.Map;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection = "vlin_scene")
public class DefaultScene implements Serializable,Scene {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3678476461946361827L;

	@Id
	private String id;//场景id
	
	private String name;//场景名称
	
	private int opened;//是否开启 1 开启 0 不开启
	
	private int show;//展示到首页 1 是 0 不是
	
	private String img;//场景对应图片
	
	private Map<Integer, String> commands;//控制指令
	
	private int fid;//家庭id
	

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getOpened() {
		return opened;
	}

	public void setOpened(int opened) {
		this.opened = opened;
	}

	public int getShow() {
		return show;
	}

	public void setShow(int show) {
		this.show = show;
	}

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public Map<Integer, String> getCommands() {
		return commands;
	}

	public void setCommands(Map<Integer, String> commands) {
		this.commands = commands;
	}

	public int getFid() {
		return fid;
	}

	public void setFid(int fid) {
		this.fid = fid;
	}


}
